   <?php foreach( $this->paginator as $photo ):?>
      <li id="thumbs-photo-<?php echo $photo->photo_id ?>">
        <a  class="thumbs_photo ialbum_photo_lightbox" href="<?php echo $photo->getHref(); ?>">
          <span style="background-image: url(<?php echo $photo->getPhotoUrl('thumb.normal'); ?>);"></span>
        </a>
        <?php if($photo->comment_count):?>
        <div style="" class="RL">
        	<div class="SL">
        		<div class="UL"><?php echo $photo->comment_count?></div>
        		<div class="TL">
        		</div>
			</div>
			<div class="VL">
				<div class="XL"><?php echo $photo->comment_count?></div>
				<div class="WL">
				</div>
			</div>
		</div>
		<?php endif;?>
      </li>     
    <?php endforeach;?>